package org.moonshiner.controller.service;

import java.util.List;

import org.moonshiner.model.project.Project;
import org.moonshiner.model.user.User;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UserService extends UserDetailsService, BaseService<User> {

	User getUserByName(String name);
	
	List<Project> getProjectsByUserName(String name);

	List<Project> getProjectsByUserId(Integer id);

}
